package com.invoicing.dao;

import com.invoicing.entity.Vend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface VendMapper {

    Vend selectById(int vendId);

    int selectRecent();

    int selectMax();

    int insertVend(Vend vend);

    int updateCost(@Param("id")int id,@Param("cost")float cost);

    float totalCost();

}
